package com.shenbao.service;

import com.shenbao.beans.Department;

import java.util.List;
import java.util.Map;

public interface IDepartmentService {
    int deleteByPrimaryKey(Integer id);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);

    int getTotalCount();

    int getCountByParameterName(String parameterName);

    List<Department> selectByPaingAndCondition(Map<String, String> map);
    
    List<Department> getalldepartment();
}